package com.songcha.library_common.util

import android.content.Context
import android.view.View
import android.view.inputmethod.InputMethodManager

class KeyBoardUtil {
    companion object{
        fun  closeKeyboard(view: View) {
            val imm = view.context.getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
            imm.hideSoftInputFromWindow(view.windowToken, InputMethodManager.HIDE_NOT_ALWAYS)
        }

    }
}